home *** CD-ROM | disk | FTP | other *** search
- /*
- ***************************************************************************
- Kaos main definitions
-
- Swan Kim and John Guckenheimer, POSTECH & Cornell U. 11/1/89
-
- ***************************************************************************
- ****************************************************************************
- */
- /*----------------------------------------------------------------------------
- System constants
- ---------------------------------------------------------------------------*/
- #define PI 3.1415926535897932 /* Pi you know */
- #define HUGE_LENGTH 400 /* Length of string */
- #define BIG_LENGTH 240 /* Length of string */
- #define MAX_LENGTH 80 /* Length of string */
- #define TRUE 1
- #define FALSE 0
-
- /*----------------------------------------------------------------------------
- Exclusive pixrect operation
- ---------------------------------------------------------------------------*/
- #define PIX_XOR (PIX_SRC ^ PIX_DST)
-
- /*----------------------------------------------------------------------------
- Colormap definition
- ---------------------------------------------------------------------------*/
- #define MY_COLORMAP_SIZE 128 /* colormap size */
- #define VAR_COLORMAP_SIZE 50 /* variable colormap size */
- #define ABS_COLORMAP_SIZE 78 /* fixed colormap size (invariable) */
- #include "./x11r2_kaos_def.h" /* definition of X11R2 colormap */
- #define ForegroundColor 0 /* Foreground color */
- #define BackgroundColor MY_COLORMAP_SIZE-1 /* Background color */
-
- /*----------------------------------------------------------------------------
- Symbol definition (should be transparent)
- ---------------------------------------------------------------------------*/
- #define DOT 0
- #define CROSS 1
- #define TRIANGLE 2
- #define SQUARE 3
- #define XCROSS 4
- #define INVTRI 5
- #define DIAMOND 6
- #define STAR 7
- #define CIRCLE 8
-